package com.yixuan.mt.common.mapper;

import com.yixuan.mt.common.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface AuthMapper {

    @Select("select id, password from user where username = #{username}")
    User selectIdPasswordByUsername(String username);
}
